//
//  WJCommonWetherUtil.h
//  imfei
//
//  Created by 王军 on 2017/12/6.
//  Copyright © 2017年 jun.wang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface WJCommonWeatherUtil : NSObject

@property(assign, nonatomic) NSInteger cacheTime;
@property(strong, nonatomic) NSDictionary *weatherInfo;
@property(assign, nonatomic) NSTimeInterval lastRequestTime;

+ (WJCommonWeatherUtil *)shareInstance;
- (void)initOptions;
- (void)initData;
- (void)getWeatherOption:(NSInteger)option callback:(void (^)(id result))callback;
- (void)getWeather:(NSString *)city option:(NSInteger)option callback:(void (^)(id result))callback;

+(NSString *)getOutsideTemp;

@end
